package com.example.sql.manager;

import com.example.sql.manager.annotations.EnableTraceId;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
@MapperScan("com.example.sql.manager.dao")
@EnableTraceId
public class SqlManagerApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(SqlManagerApplication.class, args);
        } catch (Exception e) {
            log.error(e.getMessage(), e);
        }
    }

}